package Access;

import Entities.Genre;
import java.util.LinkedList;
import javax.ejb.Remote;

/**
 *
 * @author 647_2
 */
@Remote
public interface GenresRemote {
    public LinkedList<Genre> getAllGenres();
    public LinkedList<Genre> getAllGenres(int start, int count);
    public Genre getGenre(int ID);

    public boolean AddGenre(String name, String info);
    public boolean UpdateGenre(int ID, String name, String info);
    public boolean DeleteGenre(int ID);
}
